package com.cskaoyan.bean.roleBeans;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @User: Yr
 * @Date: 2021/12/1 15:58
 * @Description:
 */

@JsonInclude(JsonInclude.Include.NON_NULL)
@NoArgsConstructor
@Data
public class PermissionVo {


    private Integer num;
    private String id;
    private String label;
    private List<ChildrenData> children;

    @NoArgsConstructor
    @Data
    public static class ChildrenData {
        private Integer num;
        private String id;
        private String label;
        private List<GrandChildrenData> children;

        @NoArgsConstructor
        @Data
        public static class GrandChildrenData {
            private String id;
            private String label;
            private String api;
        }
    }
}
